package org.beasy.controls.listClasses
{
	import mx.collections.ArrayCollection;

	/**
	 * @author Marco
	 */	
	public interface IListItemData
	{
		/**
		 * 唯一索引
		 */		
		function set id( value:String ):void;
		function get id():String;
		
		/**
		 * 显示标签
		 */		
		function set label( value:String ):void;
		function get label():String;
		
		/**
		 * 当前项是否选中
		 */		
		function set selected( value:Boolean ):void;
		function get selected():Boolean;
		
		/**
		 * 当前荐是否可选
		 */
		function set selectable( value:Boolean ):void;
		function get selectable():Boolean;
		
		/**
		 * 当前子集
		 */
		function set children( value:ArrayCollection ):void;
		function get children():ArrayCollection;
		
		/**
		 * 当前项的父级
		 */
		function get parent():IListItemData;
	}
}